﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using eProject.Business;

namespace eProject.Web.UI.Admin
{
    public partial class AirportManagermentAddnew : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            loadData();
        }
        private void loadData() {
            List<Cities> city = Cities.GetAll();
            ddlCityName.DataSource = city;
            ddlCityName.DataTextField = "Name";
            ddlCityName.DataValueField = "Id";
            ddlCityName.DataBind();
        }

        protected void btnAddNew_Click(object sender, EventArgs e)
        {
            Response.Write(txtAirportCode.Text.ToString());
        }
    }
}